package com.store.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.store.store.entity.Dish;
import com.store.store.entity.dto.DishDto;

public interface DishService extends IService<Dish> {

    //新增菜品，同时插入菜品对应的口味数据，即对dish和dish_flavor操作
    void saveWithFlavor(DishDto dishDto);

    DishDto getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDto dishDto);
}
